import httpInstance from "@/utils/http";
export function getBannerAPI(params = {}) {
    const { distributionSite  = '1'} = params
    return httpInstance({
        url: '/home/banner',
        params:{
            distributionSite
        }
    })
}
//新鲜产品
export function getNewAPI() {
    return httpInstance({
        url: '/home/new'
    })
}
//人气推荐
export function getHotAPI() {
    return httpInstance({
        url: '/home/hot'
    })
}
//获取所有商品模块
export function getGoodsAPI(){
    return httpInstance({
        url:'/home/goods'
    })
}